/**
 * @Copyright (c) 2017, 广电运通信息科技有限公司 All Rights Reserved.
 */
package com.grgbanking.voice.exception;

/**
 * @Description 业务异常类
 * @Author hesheng
 * @Date 2017年3月10日 下午3:46:32
 */
public class ServiceException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String message; //异常信息
    
    public ServiceException(String message) {
        super(message);
        this.message = message;
    }
    
    public ServiceException(String message, Throwable e) {
        super(message, e);
        this.message = message; 
    }
    public String getMessage() {
        return message;
    }
}
